﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using nERP.Model.Wms;
using nERP.Model;
using nERP.Model.Po;
using nERP.Model.Bas;

namespace nERP.ViewModel.Wms.BuyReturnOutWarehouseDetailVMs
{
    public partial class BuyReturnOutWarehouseDetailBatchVM : BaseBatchVM<BuyReturnOutWarehouseDetail, BuyReturnOutWarehouseDetail_BatchEdit>
    {
        public BuyReturnOutWarehouseDetailBatchVM()
        {
            ListVM = new BuyReturnOutWarehouseDetailListVM();
            LinkedVM = new BuyReturnOutWarehouseDetail_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class BuyReturnOutWarehouseDetail_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._BuyReturnOutWarehouseDetail._Seq")]
        public int? Seq { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouseDetail._BuyReturn")]
        public string BuyReturnId { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouseDetail._BuyReturnOutWarehouse")]
        public string BuyReturnOutWarehouseId { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouseDetail._Buy")]
        public string BuyId { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouseDetail._BuyDetail")]
        public string BuyDetailId { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouseDetail._Warehouse")]
        public string WarehouseId { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouseDetail._Goods")]
        public string GoodsId { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouseDetail._GoodsName")]
        public string GoodsName { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouseDetail._GoodsSpec")]
        public string GoodsSpec { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouseDetail._GoodsUnit")]
        public string GoodsUnit { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouseDetail._ReturnNumber")]
        public decimal? ReturnNumber { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouseDetail._Remark")]
        public string Remark { get; set; }
        [Display(Name = "_Model._BuyReturnOutWarehouseDetail._Status")]
        public dStatusTypeEnum? Status { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}